package com.soft.blog_project.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="信息", description="返回消息通知")
public class Message {
  @ApiModelProperty(value="消息ID")
  private long messageId;
  @ApiModelProperty(value="消息时间")
  private java.sql.Timestamp messageTime;
  @ApiModelProperty(value="用户ID")
  private long userId;
  @ApiModelProperty(value="消息内容")
  private String content;
  @ApiModelProperty(value="发送者ID")
  private long otherId;
  @ApiModelProperty(value="⽤户名")
  private String userName;
  @ApiModelProperty(value="⽤户头像")
  private String userImg;
}
